#ifndef SEQ_INCLUDED
#define SEQ_INCLUDED

#define T Seq_T
typedef struct T *T;

T     Seq_new(int hint);
T     Seq_seq(void *x, ...);
void  Seq_free(T *seq);
int   Seq_length(T seq);
void* Seq_get(T seq, int i);
void* Seq_put(T seq, int i, void *x);
void* Seq_addlo(T seq, void *x);
void* Seq_addhi(T seq, void *x);
void* Seq_remlo(T seq);
void* Seq_remhi(T seq);

#undef T

#endif
